<template>
    <div class="admin">
        <el-container>
            <el-header>
                <topMenu></topMenu>
            </el-header>
            <el-container>
                <el-aside width="200px">
                    <leftMenu></leftMenu>
                </el-aside>
                <el-main>
                    <RouterView></RouterView>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script lang="ts" setup>
import { RouterLink, RouterView } from 'vue-router'
import topMenu from '@/components/admin/topMenu.vue'
import leftMenu from '@/components/admin/leftMenu.vue'
import { onMounted, reactive, toRefs, watch, ref } from "vue";
import http, { setItem, getItem, firstToUpper, createdRouterConfig } from "@/utils";
import { useRouterAction } from "@/utils/router";
const { back, push } = useRouterAction()

onMounted(async()=>{
    
    await http.menusions();
    
    
})

</script> 
<style></style>
  